package com.ruoyi.gis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * layerProduct对象 gis_layer_product
 *
 * @author rww
 * @date 2023-11-16
 */
public class GisLayerProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 分组id */
    @Excel(name = "分组id")
    private Long groupId;

    /** 图层id */
    @Excel(name = "图层id")
    private Long layerId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    private String groupName;//
    private Integer groupSort;
    private Boolean groupChecked;

    private GisLayer gisLayer;
    private Boolean checked;

    private String show;//是否显示，1显示(默认)，0不显示
    private Integer layerGroupId; //所属图层组gis_layer_group.id

    private String type;//产品类型  1：组  2：图层
    private Long parentId;//parent_id
    private String outlineConfig;//outline_config  图层边框层(fill-->line边框)
    private String selectedConfig;//selected_config选择图层边框配置鼠标点击选择
    private String selectedMoveConfig;//selected_move_config  选择图层边框配置鼠标移动
    private String selectedFilter;//selected_filter
    /////////////////////////////////////////


    public String getSelectedFilter() {
        return selectedFilter;
    }

    public void setSelectedFilter(String selectedFilter) {
        this.selectedFilter = selectedFilter;
    }

    public String getOutlineConfig() {
        return outlineConfig;
    }

    public void setOutlineConfig(String outlineConfig) {
        this.outlineConfig = outlineConfig;
    }

    public String getSelectedMoveConfig() {
        return selectedMoveConfig;
    }

    public void setSelectedMoveConfig(String selectedMoveConfig) {
        this.selectedMoveConfig = selectedMoveConfig;
    }

    public String getSelectedConfig() {
        return selectedConfig;
    }

    public void setSelectedConfig(String selectedConfig) {
        this.selectedConfig = selectedConfig;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Boolean getGroupChecked() {
        return groupChecked;
    }

    public void setGroupChecked(Boolean groupChecked) {
        this.groupChecked = groupChecked;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getGroupSort() {
        return groupSort;
    }

    public void setGroupSort(Integer groupSort) {
        this.groupSort = groupSort;
    }

    public GisLayer getGisLayer() {
        return gisLayer;
    }

    public void setGisLayer(GisLayer gisLayer) {
        this.gisLayer = gisLayer;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }
    public void setLayerId(Long layerId)
    {
        this.layerId = layerId;
    }

    public Long getLayerId()
    {
        return layerId;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    public String getShow() {
        return show;
    }

    public void setShow(String show) {
        this.show = show;
    }

    public Integer getLayerGroupId() {
        return layerGroupId;
    }

    public void setLayerGroupId(Integer layerGroupId) {
        this.layerGroupId = layerGroupId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("groupId", getGroupId())
            .append("layerId", getLayerId())
            .append("sort", getSort())
            .toString();
    }
}
